import type { RouteRecordRaw } from "vue-router";
import { getAsyncPath } from "../utils";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: getAsyncPath("../views/home.vue"),
  },
  {
    path: "/about",
    name: "About",
    component: getAsyncPath("../views/about.vue"),
  },
];

export default routes;
